import React from 'react'
import A from './a'
import B from './b'
import Ason from './ason'
import { Route,Routes,Navigate} from "react-router-dom"
 function App() {
  return (
    <div>
        <Routes>
            <Route path="/a" element={<A></A>}>
                <Route path="/a/ason" element={<Ason></Ason>}></Route>
            </Route>
            <Route  path="/b" element={<B></B>}></Route>
            <Route path="/" element={<Navigate to="/a"></Navigate>}></Route>
        </Routes>
    </div>
  )
}

export default App